package exam.axhu.entity;

import java.sql.Date;

public class User {
	private String userID;
	private String name;
	private String password;
	private String repassword;
	private char gender;
	private Date birthday;
	private String type;  // T 表示老师， S表示学生
	
	public User(){}
	public User(String userID, String password,String type){
		super();
		this.userID= userID;
		this.password = password;
		this.type = type;
	}
	public User(String userID,String name, String password,String repassword,String type) {
		super();
		this.userID= userID;
		this.name = name;
		this.password = password;
		this.repassword = repassword;
		this.type = type;
	}
	
	
	public String getRepassword() {
		return repassword;
	}
	public void setRepassword(String repassword) {
		this.repassword = repassword;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public String getUserID() {
		return userID;
	}
	public void setUserID(String userID) {
		this.userID = userID;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public char getGender() {
		return gender;
	}
	public void setGender(char gender) {
		this.gender = gender;
	}
	public Date getBirthday() {
		return birthday;
	}
	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}
	
	
}
